package com.woniu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBean<T> {
    private int pageIndex;//当前页
    private int pageSize;//大小
    private int totalRecord;//总条数
    private int totalPage;//总页数
    private List<T> data;//当前页显示的数据集合
}
